package com.ruoyi.tsjData.domain.plat;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.convert.BoolToStringDeserializer;
import com.ruoyi.common.core.pad.ChartLineDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提升机-速度测试对象 data_tshj_sd
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-速度测试对象")
public class DataTshjSd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 速度测试ID */
    private Long sdId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 数据ID */
    @ApiModelProperty(value = "数据ID")
    private Long id;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    @ApiModelProperty(value = "测试任务ID")
    private Long taskId;

    /** 是否是上提（0下放 1上提） */
    @Excel(name = "是否是上提", readConverterExp = "0=下放,1=上提")
    @ApiModelProperty(value = "是否是上提")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    private String up;

    /** 是否是提人（0提物 1提人） */
    @Excel(name = "是否是提人", readConverterExp = "0=提物,1=提人")
    @ApiModelProperty(value = "是否是提人")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    private String upRen;

    /** 上提速度系数 */
    @Excel(name = "上提速度系数")
    @ApiModelProperty(value = "上提速度系数")
    private String sdxshUp;

    /** 下放速度系数 */
    @Excel(name = "下放速度系数")
    @ApiModelProperty(value = "下放速度系数")
    private String sdxshDown;

    /** 电流类型（0-交流 1-150mv 2-24v） */
    @Excel(name = "电流类型", readConverterExp = "0=-交流,1=-150mv,2=-24v")
    @ApiModelProperty(value = "电流类型")
    private String dlType;

    /** 测速方式 0：井深 1：线速度 2：测速电机 */
    @Excel(name = "测速方式 0：井深 1：线速度 2：测速电机")
    @ApiModelProperty(value = "测速方式 0：井深 1：线速度 2：测速电机")
    private String csfsh;

    /** 电流变比 */
    @Excel(name = "电流变比")
    @ApiModelProperty(value = "电流变比")
    private String paraDlbb;

    /** 提升距离 */
    @Excel(name = "提升距离")
    @ApiModelProperty(value = "提升距离")
    private String paraTshjl;

    /** 最大电流 */
    @Excel(name = "最大电流")
    @ApiModelProperty(value = "最大电流")
    private String paraDlMax;

    /** 滚筒直径 */
    @Excel(name = "滚筒直径")
    @ApiModelProperty(value = "滚筒直径")
    private String paraGtzhj;

    /** 测速直径 */
    @Excel(name = "测速直径")
    @ApiModelProperty(value = "测速直径")
    private String paraCszhj;

    /** 测试最大速度 */
    @Excel(name = "测试最大速度")
    @ApiModelProperty(value = "测试最大速度")
    private String sdMax;

    /** 运行时间 */
    @Excel(name = "运行时间")
    @ApiModelProperty(value = "运行时间")
    private String yxshj;

    /** 最大电流 */
    @Excel(name = "最大电流")
    @ApiModelProperty(value = "最大电流")
    private String dlMax;

    /** 转速 */
    @Excel(name = "转速")
    @ApiModelProperty(value = "转速")
    private String zhuansu;

    /** 加速段平均加速度 */
    @Excel(name = "加速段平均加速度")
    @ApiModelProperty(value = "加速段平均加速度")
    private String accJia;

    /** 减速度平均加速度 */
    @Excel(name = "减速度平均加速度")
    @ApiModelProperty(value = "减速度平均加速度")
    private String accJian;

    /** JSON-速度数值List */
    @Excel(name = "JSON-速度数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "速度数值List")
    private String suduList;

    /** JSON-电流数值List */
    @Excel(name = "JSON-电流数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "电流数值List")
    private String dlList;

    /** JSON-速度拟合后数值List */
    @Excel(name = "JSON-速度拟合后数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "速度拟合后数值List")
    private String suduNiheList;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 速度线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO sdChartLineDTO;

    /** 速度拟合线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO sdNiheChartLineDTO;

    /** 电流线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO dlChartLineDTO;

    /** 前40S速度线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO sdQ40ChartLineDTO;

    /** 后40S速度线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO sdH40ChartLineDTO;

    /** 加速度线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO jsdChartLineDTO;

    /** 速度井深线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO sdjshChartLineDTO;

    public void setSdId(Long sdId) 
    {
        this.sdId = sdId;
    }

    public Long getSdId() 
    {
        return sdId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setUp(String up) 
    {
        this.up = up;
    }

    public String getUp() 
    {
        return up;
    }
    public void setUpRen(String upRen) 
    {
        this.upRen = upRen;
    }

    public String getUpRen() 
    {
        return upRen;
    }
    public void setSdxshUp(String sdxshUp) 
    {
        this.sdxshUp = sdxshUp;
    }

    public String getSdxshUp() 
    {
        return sdxshUp;
    }
    public void setSdxshDown(String sdxshDown) 
    {
        this.sdxshDown = sdxshDown;
    }

    public String getSdxshDown() 
    {
        return sdxshDown;
    }
    public void setDlType(String dlType) 
    {
        this.dlType = dlType;
    }

    public String getDlType() 
    {
        return dlType;
    }
    public void setCsfsh(String csfsh) 
    {
        this.csfsh = csfsh;
    }

    public String getCsfsh() 
    {
        return csfsh;
    }
    public void setParaDlbb(String paraDlbb) 
    {
        this.paraDlbb = paraDlbb;
    }

    public String getParaDlbb() 
    {
        return paraDlbb;
    }
    public void setParaTshjl(String paraTshjl) 
    {
        this.paraTshjl = paraTshjl;
    }

    public String getParaTshjl() 
    {
        return paraTshjl;
    }
    public void setParaDlMax(String paraDlMax) 
    {
        this.paraDlMax = paraDlMax;
    }

    public String getParaDlMax() 
    {
        return paraDlMax;
    }
    public void setParaGtzhj(String paraGtzhj) 
    {
        this.paraGtzhj = paraGtzhj;
    }

    public String getParaGtzhj() 
    {
        return paraGtzhj;
    }
    public void setParaCszhj(String paraCszhj) 
    {
        this.paraCszhj = paraCszhj;
    }

    public String getParaCszhj() 
    {
        return paraCszhj;
    }
    public void setSdMax(String sdMax) 
    {
        this.sdMax = sdMax;
    }

    public String getSdMax() 
    {
        return sdMax;
    }
    public void setYxshj(String yxshj) 
    {
        this.yxshj = yxshj;
    }

    public String getYxshj() 
    {
        return yxshj;
    }
    public void setDlMax(String dlMax) 
    {
        this.dlMax = dlMax;
    }

    public String getDlMax() 
    {
        return dlMax;
    }
    public void setZhuansu(String zhuansu) 
    {
        this.zhuansu = zhuansu;
    }

    public String getZhuansu() 
    {
        return zhuansu;
    }
    public void setAccJia(String accJia) 
    {
        this.accJia = accJia;
    }

    public String getAccJia() 
    {
        return accJia;
    }
    public void setAccJian(String accJian) 
    {
        this.accJian = accJian;
    }

    public String getAccJian() 
    {
        return accJian;
    }
    public void setSuduList(String suduList) 
    {
        this.suduList = suduList;
    }

    public String getSuduList() 
    {
        return suduList;
    }
    public void setDlList(String dlList) 
    {
        this.dlList = dlList;
    }

    public String getDlList() 
    {
        return dlList;
    }
    public void setSuduNiheList(String suduNiheList)
    {
        this.suduNiheList = suduNiheList;
    }

    public String getSuduNiheList()
    {
        return suduNiheList;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ChartLineDTO getSdChartLineDTO() {
        return sdChartLineDTO;
    }

    public void setSdChartLineDTO(ChartLineDTO sdChartLineDTO) {
        this.sdChartLineDTO = sdChartLineDTO;
    }

    public ChartLineDTO getDlChartLineDTO() {
        return dlChartLineDTO;
    }

    public void setDlChartLineDTO(ChartLineDTO dlChartLineDTO) {
        this.dlChartLineDTO = dlChartLineDTO;
    }

    public ChartLineDTO getSdQ40ChartLineDTO() {
        return sdQ40ChartLineDTO;
    }

    public void setSdQ40ChartLineDTO(ChartLineDTO sdQ40ChartLineDTO) {
        this.sdQ40ChartLineDTO = sdQ40ChartLineDTO;
    }

    public ChartLineDTO getSdH40ChartLineDTO() {
        return sdH40ChartLineDTO;
    }

    public void setSdH40ChartLineDTO(ChartLineDTO sdH40ChartLineDTO) {
        this.sdH40ChartLineDTO = sdH40ChartLineDTO;
    }

    public ChartLineDTO getJsdChartLineDTO() {
        return jsdChartLineDTO;
    }

    public void setJsdChartLineDTO(ChartLineDTO jsdChartLineDTO) {
        this.jsdChartLineDTO = jsdChartLineDTO;
    }

    public ChartLineDTO getSdjshChartLineDTO() {
        return sdjshChartLineDTO;
    }

    public void setSdjshChartLineDTO(ChartLineDTO sdjshChartLineDTO) {
        this.sdjshChartLineDTO = sdjshChartLineDTO;
    }

    public ChartLineDTO getSdNiheChartLineDTO() {
        return sdNiheChartLineDTO;
    }

    public void setSdNiheChartLineDTO(ChartLineDTO sdNiheChartLineDTO) {
        this.sdNiheChartLineDTO = sdNiheChartLineDTO;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sdId", getSdId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("up", getUp())
            .append("upRen", getUpRen())
            .append("sdxshUp", getSdxshUp())
            .append("sdxshDown", getSdxshDown())
            .append("dlType", getDlType())
            .append("csfsh", getCsfsh())
            .append("paraDlbb", getParaDlbb())
            .append("paraTshjl", getParaTshjl())
            .append("paraDlMax", getParaDlMax())
            .append("paraGtzhj", getParaGtzhj())
            .append("paraCszhj", getParaCszhj())
            .append("sdMax", getSdMax())
            .append("yxshj", getYxshj())
            .append("dlMax", getDlMax())
            .append("zhuansu", getZhuansu())
            .append("accJia", getAccJia())
            .append("accJian", getAccJian())
            .append("suduList", getSuduList())
            .append("dlList", getDlList())
            .append("suduNiheList", getSuduNiheList())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
